import Vue from 'vue'
import App from './App'
import router from './router'
import Mint from 'mint-ui'
// import { Lazyload } from 'mint-ui';
import store from 'store/index'               // vuex 状态管理
import fastclick from 'fastclick'
import 'mint-ui/lib/style.css'
import 'common/stylus/index.styl'

Vue.config.productionTip = false

fastclick.attach(document.body)
Vue.use(Mint)
// Vue.use(Lazyload, {
//   preLoad: 1.3,
//   error: 'dist/error.png',
//   loading: 'dist/loading.gif',
//   attempt: 1
// })

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
